package com.ynet.middleground.user.bean;

import com.ynet.core.common.BaseReqObjPager;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * @program:
 * @description: 查询用户信息
 * @author: liwq
 * @create: 2022-10-10
 **/
@Data
@ApiModel(value = "自然人查询请求对象", description = "自然人查询请求对象")
public class QueryNaturalPersonReq extends BaseReqObjPager {

    private static final long serialVersionUID = 8976477216610690801L;

    /**
     * 是否查询所有渠道下的数据
     */
    @ApiModelProperty(value = "是否查询所有渠道下的数据;1:是; 2:否;", notes = "用户id", dataType = "Integer", required = true)
    @NotEmpty(message = "是否查询所有渠道下的数据标识不能为空")
    private String allChannelFlag;

    /**
     * 用户手机号
     */
    @ApiModelProperty(value = "用户手机号", notes = "用户手机号", dataType = "String")
    private String telephone;

    /**
     * 证件编号,当证件种类为00时该字段为统一社会信用代码,01时该字段为组织机构代码,04时为身份证
     */
    @ApiModelProperty(value = "证件编号,当证件种类为00时该字段为统一社会信用代码,01时该字段为组织机构代码,04时为身份证", notes = "证件编号,当证件种类为00时该字段为统一社会信用代码,01时该字段为组织机构代码,04时为身份证", dataType = "String")
    private String papersNo;

    /**
     * 用户名称
     */
    @ApiModelProperty(value = "客户名称", notes = "客户名称", dataType = "String")
    private String userName;


    /**
     * 业态ID
     */
    @ApiModelProperty(value = "业态ID", notes = "业态ID", dataType = "String")
    private String formatId;


}
